Fixed NullPointerException for layers which might not returned a valid ITouchHit.