Compute the viewport-position of the viewport that contains POS. POS is a list of x and y virtual coordinates in that order. The viewport coordinates returned will be in the same format and will be a integral multiples of the desk size. If POS is not contained in any valid viewport, for instance if it includes coordinates greater than zero or greater than the desk size times the display size, the nearest viewport will be returned instead.