docking window bug fixes