[BUGFIX] Fixed and improved rootline handling

Conflicts:
	Classes/Utility/GeneralUtility.php