Add appearance filter for disabled keys
(cherry picked from commit 3b84fa1648a98a34ab4540a0a914929421d6fd06)