diff --git a/src/Widgets/WindowClone.vala b/src/Widgets/WindowClone.vala index a0a8edfd7..f90327c01 100644 --- a/src/Widgets/WindowClone.vala +++ b/src/Widgets/WindowClone.vala @@ -477,7 +477,7 @@ public class Gala.WindowClone : Clutter.Actor { close_button.allocate (close_button_alloc); var rect = Graphene.Rect ().init (box.get_x (), box.get_y (), box.get_width (), box.get_height ()); - var matrix = get_relative_transformation_matrix ((Clutter.Actor) get_stage ()); + var matrix = get_parent ().get_relative_transformation_matrix (get_stage ()); matrix.transform_rect (rect); var monitor_index = display.get_monitor_index_for_rect (Mtk.Rectangle.from_graphene_rect (rect, ROUND)); var monitor_scale = display.get_monitor_scale (monitor_index);