Fix page transition jankiness