Add workaround for loading forms with custom widgets from PyQt4

	More information: qt-project.org/forums/viewthread/27098/