Quick (probably temporary) multithreaded graphics fix (might need to be
redone for expensive rendering)