[calligra] Fix infinite loop while trying to translate the boundingRect for a KoShape