Fix and sync top offset.