Fixed the grid rectangle events and added spawn spot and end spot.