Fixed class check issue for TinyMCE buttons