fixed up input handler mouse states. Draw tiles on map