Fix an issue of bottombar's location.