Layout fixes

https://bugtracker.noterik.com/view.php?id=3097