fix bug with cairo px→pt