fixing screen collisions