Added width and height offsets to sprite bouncing