Fixed problems with positioning of elements