fix for robbykraft/Panorama#17