Testing the difference between latlng and window widths and heights