Some minor fixes to the parser and CSS application on regions