Fix frame drift