private void correctSize() {
        if (width <= origWidth / 2) {
            width++;
        }
        if (width >= origWidth * 2) {
            width--;
        }
        if (height <= origHeight / 2) {
            height++;
        }
        if (height >= origHeight * 2) {
            height--;
        }
    }