Fixed bug with cursor walking off of level.