fixed keyboard frame calculations on rotation