fixed build warning, add ejoy2d begin post.