Fixes recognizing components with capital letters
Adds touch events and fixes the arrow drawing