fixed last minute bug, crashing if not-web-gl browser runs.