Fix for Unity 4.0