@Override
    public boolean mouseClicked(int mouseButton, int mouseX, int mouseY) {
        if (!this.enabled || mouseButton != 0) {
            return false;
        }

        if (mouseX >= this.posX && mouseX <= this.posX + this.width && mouseY >= this.posY && mouseY <= this.posY + this.height) {
            if (mouseX < this.posX + this.width - 20) {
                int index = (mouseY - this.posY) / 20 + this.scroll;
                if (index > this.elements.size() - 1) {
                    return false;
                }
                this.selectedIndex = index;
            }
            else {
                // Scroll Bar
                // int index = (mouseY - this.posY + this.scroll) / 20;
            }
            return true;
        }

        return false;
    }