TINYGL: fixed a problem with shadows.