Fixed scrolling bug when room size is not divisible by screen height