Fix mobile device anchor location.hash update bug