added getGlobalX/Y