Fix some positioning attributes.