Possible bugfix for PyQt4.