Bugfix for pyside loading