Fixing styling in rendered pane