bug fixed (reset RenderBuffer when changing view size)