fixed shape offset rotation bug