Refactoring of Java2DTileRenderer