you shouldn't wait for the drawing queue when calling Misc.pause() from an event like onTick, but other than that the code doesn't have any issues
if you remove the argument from Misc.pause() and the camera still refuses to move, it's possible another library you have loaded might be interfering