it doesn't crash everytime it hits the edge anymore