Fixed crash when no spotlights were specified