         }
     }
 
-    return NSRect(x: frameHash["x"]! - 1, y: frameHash["y"]! - 1, width: frameHash["w"]! + 2, height: frameHash["h"]! + 2)
+    return NSRect(x: frameHash["x"]! - (strokeWidth / 2),
+                  y: frameHash["y"]! - (strokeWidth / 2),
+                  width: frameHash["w"]! + strokeWidth,
+                  height: frameHash["h"]! + strokeWidth)
 }
 
 func parseColor(args: Array<String>) -> NSColor


}

func parseFrame(args: Array<String>) -> NSRect
{
    var frameHash = [String: Int]()
    frameHash["w"] = 0


    func showOverlayView(args: Array<String>)
    {
        let overlayColor = parseColor(args)
        let overlayWidth = parseWidth(args)
        let overlayFrame = parseFrame(args, strokeWidth: Int(overlayWidth))
        let overlayView = OverlayView(frame: overlayFrame, color: overlayColor, width: overlayWidth)

        window.contentView = overlayView
