Fix the behaviour of the missing frame param, it should be correct now.