Fixed issue with negative window coordinates.