#138: Fixed new clipping rectangle intersection code

The original commit did not respect the global offset x, y values in all
cases which lead to clipping not working correctly in some cases.