That did not work but it gave me another idea (that did not work). I resized the dock and no matter what size it is, or where it is (right, left, or bottom) it stays right there, exactly 60mm from the right edge of the monitor, yet when I hide the Dock it goes away.