Remove material from the cube and sphere, so that GLGE won't cache it and reuse it

Fixes #1813