fix for image tile coordinates