Fixed a bug in XSSWrapper - CSS caused a TypeError due to a scope issue