Bouncing animation bug fixes