Add repeat features and cursor hide bug