Fixes #385 - edge cases in processing cut off CSS content.