 
         super.init(frame: frame)
         self.wantsLayer = true
+        
+        viewBounds = self.bounds
     }
 
     deinit {

    var numCells:Int = 1024
    var cpuCellsBuffer: [UInt8] = []
    var needsReset: Bool = false

    required init?(coder: NSCoder) {
        if let defaultDev = MTLCreateSystemDefaultDevice() {


        super.init(coder: coder)
        self.wantsLayer = true
        
        viewBounds = self.bounds
    }

    override init(frame: NSRect) {
