LocationPatcher changed, fixes a bug with gxt and gwt combination