Fixed annoying issue where caret stayed in various canvas inputs