panorama: fixed rotation for shapes