North Yorkshire Council hits planning targets despite staff shortage