Fix: Python error when no active object and hitting F3