Fixed problem with dragging something inside child window
Fixed wrong behaviour of close button from child window