Fixed location resetting on orientation change.