Fixed a screen shaking bug