Fix display rotation number rounding bug.