Refactored the code a little, created a constant for background tiles