Fixed proj3 bugs