Make mary rotation in place work again