Clear depth buffer by default if useDepth has been specified

Make it explicit that the "beforeRenderToScreen" method will be invoked
ONLY before rendering to screen.

Fix demo background issues, minor demo refactoring