fDispatcher.dispatchEvent(type, event);
// Iterate through children
Iterator<Entity> it = fChildren.descendingIterator();
boolean clickThrough = true;
while (it.hasNext()) {
Entity e = it.next();
// Ensure we haven't cleaned up this entity
if (id() == -1) return;
if (e.id() == -1) continue;
// Try
if (e instanceof UIEntity) {
UIEntity u = (UIEntity) e;
Vector2f pos = new Vector2f(local.x - u.position().x, local.y - u.position().y);