Fixed issue with rotating several frames