Added function to produce default stateblock.
Fixed UV transformation.