}
@Override
public boolean isElementOnTop(Element element) {
float mouseX = this.getPreciseMouseX();
<BUG>float mouseY = this.getPreciseMouseY();
for (Element e : this.getPostOrderElements()) {

if (e.isVisible() && mouseX >= e.getPosX() && mouseY >= e.getPosY() && mouseX < e.getPosX() + e.getWidth() && mouseY < e.getPosY() + e.getHeight()) {</BUG>
return element == e || (element.getParent() != null && element.getParent() == e);
}

}
@Override
public void removeElement(Element element) {
synchronized (this.elementLock) {
this.elements.remove(element);
}
