update layout position to absolute to make sure map alignment correctly