added null check for level background drawing
Solving Merging Conflicts