public static boolean isOnScreen(Entity e) {
		ensureActionBar(true);
		WidgetChild actionbar = Widgets.get(640, 6);
		return e != null && e.isOnScreen()
				&& (actionbar == null || !(actionbar != null
						&& actionbar.isOnScreen() && actionbar
						.getBoundingRectangle().contains(e.getCentralPoint())));
	}