Frame correction