DS-1485 fix for the Mirage theme

https://jira.duraspace.org/browse/DS-1485

TODO: fixes for other themes (should be the same)