Changed the case for the Visible and Invisible functions in Ball.