moving logic for map, request focus on canvas