fixed broken resolution setting through pyside interface