Calculated using the absolute coordinates of the display position

It may display position will be offset in OSX 10.10.