                            y: 50,
                            width: CGFloat(width),
                            height: 450)
-        return frameRelativeToHearthstone(frame, relative: true)
+        return hearthstoneWindow.relativeFrame(frame, relative: true)
     }
 
     static func timerHudFrame() -> NSRect {

            frame.origin.y = pos.y
        }

        return frameRelativeToHearthstone(frame, relative: true)
    }
}


    class HearthstoneWindow {
        var frame = NSZeroRect
        var windowId: CGWindowID?
        var screen = NSScreen.mainScreen()!
        var screenFrame = NSZeroRect
        
        init() {
            reload()
        }
        
        // Get the title bar height
        // I could fix it at 22, but IDK if it's change on retina ie
        private var titleBarHeight: CGFloat = {
