null pointer fix for no tracking overlay