Fixing display mode switching in Baggy theme (issue #896)