Thank you for the advice. I actually just figured it out, I had to set canvas resize policy to adaptive.