Fix canvas keys to work properly on touch device