Possible fix for the assertion failure.

This needs to be tested more. Also, I changed the test level slightly
because it was possible for the ball to go inside the platform.