#2321: Fixed the null value for position

PR for #2321