fixed null pointer in case of not set coordinate
Authored by: grether 2009-05-29
Parent: [r7205]
Child: [r7207]