improved performance by not creating new shadow objects each time the player moves