Fixed bug where player could jump after falling off edge.