diff --git a/UM/View/SelectionPass.py.orig b/UM/View/SelectionPass.py
index 945b789..ef042a5 100644
--- a/UM/View/SelectionPass.py.orig
+++ b/UM/View/SelectionPass.py
@@ -5,6 +5,7 @@ import enum
 import random
 from typing import TYPE_CHECKING
 
+from UM.Logger import Logger
 from UM.Resources import Resources
 from UM.Application import Application
 
