fixed collision with bottom on rotate