Resolved issue of distorted clipFunc on devices with pixelratio != 1

Issue of distorted clipping region on devices with pixelration != 1 resolved.