Fix positioning of elements