Added check for last key pressed on dodge

This fixes being able to accidentally dodge when you strafe side to side too quickly. This also makes dodging diagonally impossible.