Fixed rendering with shadows enabled!