fix bug where you could hit yourself and die if you pressed two directions within the same frame