Implement frame disposal methods 2 and 3