Nest CollisionDetector class, need to work on accessing Pixels