Add hack to ensure frames fit