                            y: 0,
                            width: CGFloat(width),
                            height: NSHeight(hearthstoneWindow.frame) - offset)
-        return frameRelativeToHearthstone(frame)
+        return hearthstoneWindow.relativeFrame(frame)
     }
     
     static func playerBoardDamageFrame() -> NSRect {
         let frame = NSRect(x: 910, y: 580.0, width: 50.0, height: 50.0)
-        return frameRelativeToHearthstone(frame)
+        return hearthstoneWindow.relativeFrame(frame)
     }
     
     static func opponentBoardDamageFrame() -> NSRect {
         let frame = NSRect(x: 910, y: 190.0, width: 50.0, height: 50.0)
-        return frameRelativeToHearthstone(frame)
+        return hearthstoneWindow.relativeFrame(frame)
     }
 
     static func secretTrackerFrame() -> NSRect {


    class HearthstoneWindow {
        var frame = NSZeroRect
        var windowId: Int?
        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 = {

            frame.origin.y = pos.y
        }

        return hearthstoneWindow.relativeFrame(frame, relative: true)
    }
}
