Fix bug 914674 - Remove white line when not needed

https://bugzilla.mozilla.org/show_bug.cgi?id=914674