Fixed bug with IE11 in pageToPixel()