fix flashing on position adjustment