adjust scn_test13 to avoid undefined behaviour
add macro for plane's object tag
fix memory leak in engine's save_frame