CSS: Invalid path check. Fixed #971