Changed null condition with IsEmpty

location is instantiated, so it doesn't need to be tested as different from null. But it's good to check if the position of the point.
Merge pull request #1 from StEvUgnIn/patch-1

Changed null condition with IsEmpty