a possible hitTest() implementation for other targets (works with neko and cpp - although a bit slow)