Fix an issue with the prepic calc