Transparency sorting fix

Transparency sorting should be enabled only when alpha blending is enabled.
It used to be always enabled, which caused Ogre to not consider any materials for shadow casting.