Fixed inverse in transform, the offset was calculated incorrected wrt
to zoom.