Fixed all the remaining issues with background rendering so now it seems to be fine.