Fixed display bugs

*Added cloak to hide prerender flashes of elements that should be hidden
* Added main background to layout panel