Fixed bugs which broke the background and SGF data rendering