Added ability to set current frame in mark-up