browser/compatibility/window/animation_frame: recaftor, fix Compatibility class nesting