client: fix moving elements into a vertical panel