New compatibility fix with PySide!