Fixed issues with checkboxes being enabled when they shouldn't be, and the opacity slider being accessible when it shouldn't be.