Add a test for scenes with no shader assigned
Prevent the warning when attempting to draw geometry with no shader program assigned.