Attempts to fix broken test3. (It seems that I have renamed the wron function for setting current frame?)