#48: fix offset rotation