fixed bug where smooth shading wasn't activating