fixed background drawing problems introduced with my last commit