REFACTOR:input events and mask area
-- The new approach reduces mask area calls to barely minimum. Input mask is used instead to specify the area for which we accept input. -- The new approach solves also the BLACKLINE issue when hovering the view at startup. This is because at all times the full window area is drawn.