Fixed getting tile dimensions