If target is inside a floating container but not its direct child, the move can be completed as is. Fixes #3402.