[BUGFIX] Incorrect behaviour of style selector in RTE