Fix for older version of PyQt? Navbar was crashing on Ubuntu.