fixes keyboard dim removal