Fix an issue with ProMotion >= 0.7