Fixed lights not moving apropriately after max added to scene. Using if check to make sure proper index is called  and giving -1 to invalid indices when MAX_LIGHTS is exceeded.