Detect correctly if mouse is inside or outside the Display on
creation and resize.