Fixes to cube example and renderer binding