Fixed: Check themed icon is not None; reported by @fclucky777