Fixed a bug that prevented screen from moving

Fixed a bug that prevented screen from moving