Fixed bug with onRender callbacks duplicates

* Extracted Debuggable mixin.