Fix clicking dots resets current frame bug