Fixed a bug with the CSS bindings logic (writing the unit test was more work than fixing the bug).