added scale factor to grid layer
scaling tiles based on their height instead of width