Another NanoUI fix

- Rewrote CSS fix to utilize inheritance
- Added some removed code I missed in the first commit