crash when out of the screen fixed