Fix stupid mistake that caused always rendering a bottom frame