fixed getBoundingClientRect rotation issue