Fixed bug where player could leave the stage