     func setupBorderLayer() -> CALayer {
         let border = CALayer()
 
-        let borderRect = CGRectInset(frame, 8.0, 8.0)
-
         border.cornerRadius = 12.0
         border.borderColor = NSColor.whiteColor().CGColor
         border.borderWidth = 2.0
 
-        border.frame = borderRect
+        border.frame = CGRectInset(frame, 8.0, 8.0)
 
         return border
     }

    required init?(coder: NSCoder) {
        super.init(coder: coder)

        self.layer = setupLayers()
    }

    override func awakeFromNib() {
        self.wantsLayer = true
    }

    func setupLayers() -> CALayer {

    func setupGlossLayer() -> CALayer {
        let gloss = CALayer()

        if let image = NSImage(named: "Gloss") {
            gloss.contents = image.CGImage
        }

        gloss.opacity = 0.8
        gloss.cornerRadius = 12.0
        gloss.masksToBounds = true
