Added rendering of object layer of map and checking if any objects were clicked on.