Set viewport in createFramebuffer