Fix issue with two frames