Add addFrame support. Issue with position calculation. Need to test