Added overridable method called before tile layer rendering