title: Cocos2d-x 3.0rc not detecting touches
body: <p>In the new cocos2d-x 3.0rc I wanted to detect touch in a Layer. I have over ridden functions in my class as mentioned below.</p>
  
  <pre><code>virtual bool onTouchBegan(CCTouch* touch, CCEvent* event);
  virtual void onTouchMoved(CCTouch* touch, CCEvent* event);
  virtual void onTouchEnded(CCTouch* touch, CCEvent* event);
  </code></pre>
  
  <p>but touches are not getting detected. Any idea y is this happening?</p>