UI-3363: Incorrect UI of some portlets