The best way to handle this is to disable overscan in the monitor's setup menu (i.e. get into the menu of the monitor itself).

Now the ugly part is some monitors do not have overscan settings.