Corrected an error between light and dark themes to make sure the rules match.

Fixed a bug in chrome and firefox where some overlays would get an outline when you mouse clicked on them.