Bugfix for PyQt4