More clean up and fixes

- Cleaned up code in mouse event
- Dodge could be activated while while not on solid ground