How to do it programmatically?
Rather than with dock preferences as discussed in posts (Works fine) -
"Right-Click" on Dock (your preference will be different for bringing up the Dock Menu)
Select "Turn Hiding On"
The window gets unstuck!!!
"Right-click" on dock and
Select "Turn Hiding Off"
I've also had the same problem since I upgraded to 10.9.1.
A workaround: go to System settings -> Dock. Change "Position on screen" to something else, then set it back to where it was.