Prevented typing in chat and on canvas simultaneously