Fixed rotate card effect not working at the edge of the map.