Fix ball bouncing before graphic touched borders.