players can place cursor only on valid locations