Fixed focus issue with floating dock widgets.