caching compiled shader parameter converted to a method. ButtonWithPressed is now returning the instance if the menuItem, not CCobject